Platform Explorer / Nuxeo Platform 2023.18

Contribution org.nuxeo.ecm.platform.filemanager.service.FileManagerService.Plugins--plugins

This contribution is part of XML component org.nuxeo.ecm.platform.filemanager.service.FileManagerService.Plugins inside nuxeo-platform-filemanager-2023.18.9.jar /OSGI-INF/nxfilemanager-plugins-contrib.xml

Documentation

Default plugins for the file manager.

NoteImporter creates a Note document from any text-based content.

DefaultFileImporter creates a File document from any content.

Extension Point

Extension point plugins of component FileManagerService.

Registration Order

2
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <plugin class="org.nuxeo.ecm.platform.filemanager.service.extension.NoteImporter" name="NoteImporter" order="10">
          <filter>text/plain</filter>
          <filter>text/html</filter>
          <filter>application/xhtml+xml</filter>
          <filter>text/x-web-markdown</filter>
        </plugin>
  • <plugin class="org.nuxeo.ecm.platform.filemanager.service.extension.DefaultFileImporter" name="DefaultFileImporter" order="100">
          <filter>.*</filter>
        </plugin>
  • <plugin class="org.nuxeo.ecm.platform.filemanager.service.extension.ExportedZipImporter" name="ExportedArchivePlugin" order="10">
          <filter>application/zip</filter>
        </plugin>
  • <plugin class="org.nuxeo.ecm.platform.filemanager.service.extension.CSVZipImporter" name="CSVArchivePlugin" order="11">
          <filter>application/zip</filter>
        </plugin>
  • <creationContainerListProvider class="org.nuxeo.ecm.platform.filemanager.service.extension.DefaultCreationContainerListProvider" name="defaultCreationContainerListProvider"/>

XML Source

<extension point="plugins" target="org.nuxeo.ecm.platform.filemanager.service.FileManagerService">
    <documentation>
      Default plugins for the file manager.

      NoteImporter creates a Note document from any text-based content.

      DefaultFileImporter creates a File document from any content.
    </documentation>

    <plugin class="org.nuxeo.ecm.platform.filemanager.service.extension.NoteImporter" name="NoteImporter" order="10">
      <filter>text/plain</filter>
      <filter>text/html</filter>
      <filter>application/xhtml+xml</filter>
      <filter>text/x-web-markdown</filter>
    </plugin>

    <plugin class="org.nuxeo.ecm.platform.filemanager.service.extension.DefaultFileImporter" name="DefaultFileImporter" order="100">
      <filter>.*</filter>
    </plugin>

    <plugin class="org.nuxeo.ecm.platform.filemanager.service.extension.ExportedZipImporter" name="ExportedArchivePlugin" order="10">
      <filter>application/zip</filter>
    </plugin>

    <plugin class="org.nuxeo.ecm.platform.filemanager.service.extension.CSVZipImporter" name="CSVArchivePlugin" order="11">
      <filter>application/zip</filter>
    </plugin>

    <documentation>
      Use a query model to find the list of all Workspaces the user has the
      right to create new document into.
    </documentation>
    <creationContainerListProvider class="org.nuxeo.ecm.platform.filemanager.service.extension.DefaultCreationContainerListProvider" name="defaultCreationContainerListProvider"/>
  </extension>